package com.mai.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mai.entity.Product;

public interface ProductMapper {

	public List<Product> selectAllProduct();
	
	public Product selectProductById(@Param("product_id") int product_id);
	
	public int addProduct(Product product);
	
	public int updateProduct(Product product);
	
	public int deleteProductById(@Param("product_id") int product_id);
	
	public List<Product> Mohu(@Param("product_category") String product_category);
}
